package cn.lysj.framework.store.repository;

import cn.lysj.framework.base.BaseRepository;
import cn.lysj.framework.store.domain.EatTable;

import java.util.List;

/**
 * @author drj
 * @description 餐桌数据处理层
 * @create 2018-11-02 10:15:54
 **/
public interface EatTableRepository extends BaseRepository<EatTable> {

    List<EatTable> findByStoreId(String storeId);

    int countByStoreIdAndSerialNumberAndDelFlag(String storeId, Integer serialNumber,Integer delFlag);//根据商户id和餐桌号,查询对应的餐桌
}